package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 轮播图
 * </p>
 *
 * @author jj
 * @since 2019-12-05
 */
@TableName("yingbao_rotation_images")
public class YingbaoRotationImages implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @TableField("image_url")
    private String imageUrl;

    @TableField("position")
    private Long position;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Long getPosition() {
        return position;
    }

    public void setPosition(Long position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "YingbaoRotationImages{" +
        "id=" + id +
        ", imageUrl=" + imageUrl +
        ", position=" + position +
        "}";
    }
}
